xend: Add support for XCP Windows PV drivers
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:12:06 +0000 (07:12 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:12:06 +0000 (07:12 +0000)
This patch adds support for XCP Windows paravirtual drivers to run on
Xen. The drivers are currently provided in binary-only format from
Citrix. At a minimum, this patch is useful for performance comparisons
vs GPLPV drivers.

Live migration and save/resume are functional but set the guest clock
to the 1970's. The clock must be manually adjusted for the guest's ntp
to resume accurate timekeeping.

Before rebooting windows at the end of driver installation create the
registry key
HKLM\System\CurrentControlSet\Services\xenevtchn\Parameters. Add to it
a DWORD called SetFlags with a value of 0x10000000.

Signed-off-by: Keith Coleman <keith@scaltro.com>
tools/python/xen/xend/XendDomainInfo.py

index 4d7ec2cd40afb0d76f6047f2302165c75f388d7c..592ba6fad8a69f6ebb8d64119b84b45fab294755 100644 (file)
@@ -1654,7 +1654,9 @@ class XendDomainInfo:
         t.set_permissions({'dom' : self.domid, 'read' : True})
         t.write('vm', self.vmpath)
         # NB. Solaris guests use guest/ and hvmpv/ xenstore directories
-        for i in [ 'device', 'control', 'error', 'memory', 'guest', 'hvmpv' ]:
+        #     XCP Windows paravirtualized guests use data/
+        for i in [ 'device', 'control', 'error', 'memory', 'guest', \
+                   'hvmpv', 'data' ]:
             t.mkdir(i)
             t.set_permissions(i, {'dom' : self.domid})